package cn.shenzhenlizuosystemapp.Common.UI;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

import cn.shenzhenlizuosystemapp.Common.Base.BaseActivity;

public class SplashActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        new Handler().postDelayed(new Runnable() {

            @Override
            public void run() {
                startActivity(new Intent(SplashActivity.this, LoginActivity.class));
                finish();
            }
        }, 500);
    }

    @Override
    public void finish() {
        super.finish();
        overridePendingTransition(jerry.cn.rfid_module.R.anim.fade, jerry.cn.rfid_module.R.anim.hold);
    }
}
